#ifndef QADDSHEETITEMDIALOG_H
#define QADDSHEETITEMDIALOG_H

#include "../../qbasedialog.h"

class QStateCheckWidget;
class QAbstractProperty;
namespace Ui {
class QAddSheetItemDialog;
}

class QAddSheetItemDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QAddSheetItemDialog(QAbstractProperty* property,const QString &title="",QWidget *parent = 0);
    ~QAddSheetItemDialog();

    QString get_title();
protected slots:
    void    make_title();
    void    check_changed();
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::QAddSheetItemDialog *ui;
    QStateCheckWidget       *m_check_widget;
    QString                     m_title;
};

#endif // QADDSHEETITEMDIALOG_H
